package com.trkj.dao.lzs;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojo.SocialAccount;



public interface SocialAccountDao  extends  CrudRepository< SocialAccount, Long> {	
	@Query("from  SocialAccount s where s.socialName like ?1")
    public  List<SocialAccount>queryByName(String text);	
     
  /*   @Query("from SalaryAccount e")
 	public List<SalaryAccount> queryByPage(Pageable p);
     
     
     @Query("SELECT s,p FROM SalaryAccount s inner join s.projectTemplate p")
 	public List<Object[]> find_pay();*/

	

}


